﻿<%@ Assembly Name="Rtl.SharePoint.CustomFieldTypes.USAddress, Version=1.0.0.0, Culture=neutral, PublicKeyToken=0d0adad34de2675c" %>
<%@ Page Language="C#" Inherits="Rtl.SharePoint.Administration.VEConfigPage" MasterPageFile="~/_admin/admin.master"      %>
<%@ Import Namespace="Microsoft.SharePoint.ApplicationPages" %>
<%@ Register Tagprefix="SharePoint" Namespace="Microsoft.SharePoint.WebControls" Assembly="Microsoft.SharePoint, Version=12.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %>
<%@ Register Tagprefix="Utilities" Namespace="Microsoft.SharePoint.Utilities" Assembly="Microsoft.SharePoint, Version=12.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %>
<%@ Import Namespace="Microsoft.SharePoint" %>
<%@ Register Tagprefix="wssawc" Namespace="Microsoft.SharePoint.WebControls" Assembly="Microsoft.SharePoint, Version=12.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %>
<%@ Register Tagprefix="AdminControls" Namespace="Microsoft.SharePoint.WebControls" Assembly="Microsoft.SharePoint.ApplicationPages.Administration" %>
<%@ Register TagPrefix="wssuc" TagName="ButtonSection" src="~/_controltemplates/ButtonSection.ascx" %>
<%@ Register TagPrefix="wssuc" TagName="InputFormSection" src="~/_controltemplates/InputFormSection.ascx" %>
<%@ Register TagPrefix="wssuc" TagName="InputFormControl" src="~/_controltemplates/InputFormControl.ascx" %>
<asp:Content ID="Content1" contentplaceholderid="PlaceHolderPageTitle" runat="server">MapPoint Connection Settings</asp:content>
<asp:Content ID="Content2" contentplaceholderid="PlaceHolderPageTitleInTitleArea" runat="server">MapPoint Connection Settings</asp:Content>
<asp:content ID="Content3" contentplaceholderid="PlaceHolderPageDescription" runat="server">
    Use this page to configure a connection to the MapPoint Web Service.
</asp:content>
<asp:content ID="Content4" contentplaceholderid="PlaceHolderMain" runat="server">
  <table width="100%" class="propertysheet" cellspacing="0" cellpadding="0" border="0"> <tr> <td class="ms-descriptionText"> <asp:Label ID="LabelMessage" Runat="server" EnableViewState="False" class="ms-descriptionText"/> </td> </tr> <tr> <td class="ms-error"><asp:Label ID="LabelErrorMessage" Runat="server" EnableViewState="False" /></td> </tr> <tr> <td class="ms-descriptionText"> <asp:ValidationSummary ID="ValSummary" HeaderText="<%$SPHtmlEncodedResources:spadmin, ValidationSummaryHeaderText%>" DisplayMode="BulletList" ShowSummary="True" runat="server"> </asp:ValidationSummary> </td> </tr> <tr> <td><img src="/_layouts/images/blank.gif" width="10" height="1" alt="" /></td> </tr> </table>
  <TABLE border="0" cellspacing="0" cellpadding="0" class="ms-propertysheet" width="100%">
    <wssuc:InputFormSection runat="server" Title="Service Endpoints">
        <Template_Description>
            <SharePoint:EncodedLiteral ID="EncodedLiteral1" runat="server" text="Enter the URL for  the MapPoint web service that you want to use when applications request information from Bing Maps for Enterprise.  Commonly used URLs include:" EncodeMethod='HtmlEncodeAllowSimpleTextFormatting'/>
            <br /><br />
            <SharePoint:EncodedLiteral ID="EncodedLiteral2" runat="server" text="http://findv3.staging.mappoint.net/Find-30/FindService.asmx" EncodeMethod='HtmlEncodeAllowSimpleTextFormatting'/><br />
            <SharePoint:EncodedLiteral ID="EncodedLiteral3" runat="server" text="https://findv3.staging.mappoint.net/Find-30/FindService.asmx" EncodeMethod='HtmlEncodeAllowSimpleTextFormatting'/><br />
            <SharePoint:EncodedLiteral ID="EncodedLiteral4" runat="server" text="http://findv3.mappoint.net/Find-30/FindService.asmx" EncodeMethod='HtmlEncodeAllowSimpleTextFormatting'/><br />
            <SharePoint:EncodedLiteral ID="EncodedLiteral5" runat="server" text="https://findv3.mappoint.net/Find-30/FindService.asmx" EncodeMethod='HtmlEncodeAllowSimpleTextFormatting'/><br />
        </Template_Description>
		<Template_InputFormControls>
			<wssuc:InputFormControl runat="server"
				LabelText="Common Service URL">
				<Template_Control>
					<wssawc:InputFormTextBox Title="Common Service EndPoint" class="ms-input" ID="txtCommonServiceEndpoint" Columns="35" Runat="server" MaxLength=255 />
					<wssawc:InputFormRequiredFieldValidator
						ID="valRequireCommonServiceEndpoint"
						ControlToValidate="txtCommonServiceEndpoint"
						ErrorMessage="A Service endpoint must be specified."
						Runat="server"/>
				</Template_Control>
			</wssuc:InputFormControl>
		</Template_InputFormControls>
    </wssuc:InputFormSection>
    <wssuc:InputFormSection runat="server"
        Title="Credentials"
        Description="Enter the credentials that will be used to connect to the web service." >
		<Template_InputFormControls>
			<wssuc:InputFormControl runat="server"
				LabelText="Username">
				<Template_Control>
					<wssawc:InputFormTextBox Title="Account ID" class="ms-input" ID="txtAccountID" Columns="35" Runat="server" MaxLength=255 />
					<wssawc:InputFormRequiredFieldValidator
						ID="valRequireAccountID"
						ControlToValidate="txtAccountID"
						ErrorMessage="Please enter an account id."
						Runat="server"/>
				</Template_Control>
			</wssuc:InputFormControl>
			<wssuc:InputFormControl runat="server"
				LabelText="Password">
				<Template_Control>
					<wssawc:InputFormTextBox Title="Account ID" class="ms-input" ID="txtPassword" TextMode="Password" Columns="35" Runat="server" MaxLength=255 />
					<wssawc:InputFormRequiredFieldValidator
						ID="valRequirePassword"
						ControlToValidate="txtPassword"
						ErrorMessage="Please enter a password."
						Runat="server"/>
				</Template_Control>
			</wssuc:InputFormControl>
		</Template_InputFormControls>
    </wssuc:InputFormSection>
	<wssuc:ButtonSection runat="server">
		<Template_Buttons>
			<asp:Button UseSubmitBehavior="false" runat="server" class="ms-ButtonHeightWidth" OnClick="BtnSubmit_Click" Text="<%$Resources:wss,multipages_okbutton_text%>" id="BtnSubmit" accesskey="<%$Resources:wss,okbutton_accesskey%>"/>
		</Template_Buttons>
	</wssuc:ButtonSection>
  </TABLE>
</asp:content>
